import requests
from lxml import etree

if __name__ == '__main__':
    data = {'q':'239005198607023823'}
    response = requests.post("http://shenfenzheng.293.net/ids.php",data)
    xpath = etree.HTML(response.text)
    fund_name = xpath.xpath('//table/tbody/tr[4]/td/font/text()')[0]
    print(fund_name)
